package com.wei.model;

import lombok.Data;

@Data
public class Coordinate {

	private double x;
	private double y;
	/**
	 * @param x
	 * @param y
	 */
	public Coordinate(double x, double y) {
		super();
		this.x = x;
		this.y = y;
	}
	/**
	 * 
	 */
	public Coordinate() {
		super();
	}
	
	public Coordinate(double[] arr) {
		this.x = arr[0];
		this.y = arr[1];
	}
}
